wordpress get post type from url

109

// Retrieves the post type of the current post or of a given post.
get_post_type( int|WP_Post|null $post = null )

Comments

Submit
0 Comments